package com.sdau.zhang.vo;

import java.util.Date;

public class Order {
    //oid:订单编号；
    //userid：消费者者编号
    //yid：运单号：下单时空着，等发货后由卖家填写
    private int oid,userid,pid,num;
    private double price;
    private double sum;//总价
    private Date ptime;

    public Date getPtime() {
        return ptime;
    }

    public void setP_time(Date ptime) {
        this.ptime = ptime;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public double getSum() {
        return sum;
    }

    public void setSum(double sum) {
        this.sum = sum;
    }

    public int getOid() {
        return oid;
    }

    public void setOid(int oid) {
        this.oid = oid;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }
}
